/*
 * VsMotionDetector.h
 *
 *  Created on: Mar 28, 2013
 *      Author: andre
 */

#ifndef VSMOTIONDETECTOR_H_
#define VSMOTIONDETECTOR_H_

#include "VsObjectDetector.h"
#include "vsconfig.h"
#include <cv.h>

class VsMotionDetector: public VsObjectDetector
{
private:
	VsMotionConfig *config;
	vector <IplImage *> grayBackgroundsImgs;
	vector <IplImage *> colorBackgroundsImgs;
	IplImage *grayImg;

public:
	VsMotionDetector(VsMotionConfig *config);
	virtual ~VsMotionDetector();

	int process(IplImage *input);
};

#endif /* VSMOTIONDETECTOR_H_ */
